package IC.Semantics.symbols;

import IC.AST.Type;
import IC.Semantics.SemanticError;
import IC.Semantics.types.TypeTable;

public class ReturnValSymbol extends SemanticSymbol{

	public ReturnValSymbol(Type type) throws SemanticError {
		super(type.getName(), type.getLine(), TypeTable.getType(type), SemanticKind.RETURN_VAR);
	}
	
	public ReturnValSymbol(Type type, boolean fref) throws SemanticError {
		super(type.getName(), type.getLine(), TypeTable.getType(type), SemanticKind.RETURN_VAR, fref);
	}

}
